MPlayer is a multimedia player and encoder suite which runs on many
platforms. It plays a terrific number of different file formats
and codecs including popular DivX, XviD, H.264 streams as well as
DVD and SVCDs along with many popular audio codecs.
On the i386 platform it also supports some Windows DLL codec
families which allow playing of e.g. QuickTime movies.
===> The following configuration options are available for mplayer-1.5.0.20260404_1:
AALIB=off: AAlib graphics library support
AMR_NB=off: AMR Narrow Band audio support (opencore)
AMR_WB=off: AMR Wide Band audio support (opencore)
ASS=on: Subtitles rendering via libass
BLURAY=off: BluRay support
CACA=off: libcaca graphics library support
CDIO=off: CDIO support via libcdio
DV=off: Quasar DV video codec support (libdv)
DVDNAV=on: DVD navigation features support
ENCA=off: Charset conversion via enca
FONTCONFIG=on: X11 font configuration support
FRIBIDI=on: Bidirectional text support via GNU FriBidi
GIF=off: GIF image format support
GNUTLS=on: SSL/TLS support via GnuTLS
GSM=off: GSM codec support
GUI=on: GUI (Graphical User Interface) support
IPV6=on: IPv6 protocol support
JACK=off: JACK audio server support
JPEG=on: JPEG image format support
LADSPA=off: LADSPA audio plugins support
LIBMNG=off: MNG animated images support via libmng
LIRC=off: Infrared remote control support
LZO=off: External liblzo support
NAS=off: Network Audio System support
NLS=on: Native Language Support
OPENAL=off: Audio support via OpenAL
OPENGL=on: 2D/3D rendering support via OpenGL
OPENJPEG=off: JPEG 2000 support via OpenJPEG
OPUS=off: Opus audio codec support
PULSEAUDIO=off: PulseAudio sound server support
RTCPU=on: Use runtime CPU detection
SDL=off: Simple Direct Media Layer support
SKINS=on: Install skins for GUI
SMB=off: SMB network protocol support
SNDIO=off: Sndio audio support
SPEEX=off: Speex audio format support
SVGALIB=off: SVGA graphics support
V4L=off: Video 4 Linux support
VDPAU=off: VDPAU (GPU video acceleration) support
VPX=off: VP8/VP9 video codec support
X11=on: X11 (graphics) support
X11DGA=on: X11 DGA video driver support
X11VM=on: X11 VidMode support
XINERAMA=on: X11 Xinerama extension support
XVIDEO=on: X11 Video extension library support
===> Use 'make config' to modify these settings
multimedia/{mplayer|mencoder} Update to upstream snapshot 2026-04-04
This updates multimedia/mplayer and mencoder to an up-to-date
snapshot as of 2026-04-04.
* Due to upstream development slowing down, distfiles are now
incremental diffs.
* This marks the JACK option broken for now due to ffmpeg API
retirements.
PR: 292157
MFH: 2026Q2
multimedia/mplayer: fix build with ffmpeg8
Remove version lib dependency for a more generic one, disable VDPAU
option by default as it is still broken with ffmpeg8
multimedia/[mplayer|mencoder]: Update to snapshot as of 2025-08-16
This is mostly a bugfix release. Some of the local patches have been
adopted upstream as well.
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.
No functional or package changes.
Mk/Uses/samba.mk: Remove legacy variables
* Replace occurrence of them in each port with new ones.
* Add entry to CHANGES.
Reviewed by: kiwi, mikael
Differential Revision: https://reviews.freebsd.org/D48801
multimedia/{mplayer|mencoder}: Fix WITH_DEBUG build
Newer clang versions are not happy when passing -mcpu=<something> on
i386 and amd64. This fixes the construction of CFLAGS during configure
in the WITH_DEBUG case.
Also, as it turns out, there was a const ptr issue in
libmpcodecs/ad_spdif.c whith also needed to be fixed.
PR: 280818
Reported by: cryptogranny@gmail.com
multimedia/{mplayer|mencoder}: Update to new upstream snapshot
Details:
- Move to upstream snapshot as of 2024-09-28
- Use ffmpeg6+ instead of ffmpeg4
PR: 275846
multimedia/mplayer: Remove support for librtmp
Remove invalid option as support for librtmp was removed in
8d01b5458f4660725fcaf562cdbb073debc9b751
Approved by: portmgr (blanket)
multimedia/{mplayer/mencoder}: Move DEBUG from OPTIONS to WITH_DEBUG
Details:
This is a revert of c1e0f931e3ddecb86d83ffc14cb8b05a38922cdd plus
removing the DEBUG OPTION from mencoder as well, following the trend to
phase out DEBUG as an option.
multimedia/{mplayer|mencoder} Update to newer upstream snapshot
Details:
- Update to upstream snapshot as of 2024-01-06
- No major functional changes, but adds detection for new CPU
instructions
MFH: 2024Q1
multimedia/mplayer: Update CFLAGS for clang16+
clang16+ will error on incompatible function pointer types. Workaround
by adding -Wno-incompatible-function-pointer-types to clang CFLAGS.
multimedia/{mplayer|mencoder} Add missing CFLAGS for ffmpeg4 headers
Details:
This was missed in the previous commit. Ensure the ffmpeg4 headers are
included, not the ffmpeg 6 ones.
PR: 270569
Reported by: diizzy
Tested by: george@m5p.com, riggs
multimedia/{mplayer|mencoder} Use ffmpeg4 instead of ffmpeg6
Details: Hopefully temporary workaround to fix a whole bunch of decoding
problems with various ffmpeg codecs.
PR: 270569
multimedia/{mplayer|mencoder}: Update to newer upstream snapshot
Details:
- Update to upstream snapshot as of 2023-03-21
- Preparation for the ffmpeg 6.0 update
PR: 270294
Reported by: diizzy
accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
interface.
What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).
What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
(Only the first 15 lines of the commit message are shown above )
multimedia/mplayer: Fix build with llvm15
Details:
- clang15 performs stricter checks for pointer conversions, some
questionable conversions graduated from warnings to errors
- Fixes multimedia/mencoder builds as well
MFH: 2023Q1
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
multimedia/{mplayer|mencoder}: Fix stage-qa warnings
Details:
- Rework dependencies to fix stage-qa warnings, at least for the default
packages and a couple configs tested.
- Add JPEG OPTION to allow to actually disable it (as it is picked up
automatically in most systems via build dependencies, even if the user
does not want to include it).
PR: 256994
Reported by: bsd@philippost.de
MFH: 2022Q3
multimedia: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron LI <aly@aaronly.me>
* Alexander Botero-Lowry <alexbl@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Anders Nordby <anders@FreeBSD.org>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrew Thompson <andy@fud.org.nz>
* Andrew Thompson <thompsa@FreeBSD.org>
* Angel Carpintero <ack@telefonica.net>
* Anish Mistry (with help from mean)
* Anonymous <swell.k@gmail.com>
(Only the first 15 lines of the commit message are shown above )
multimedia/{mplayer|mencoder} Update to upstream snapshot 2022-03-10
Details:
- This updates multimedia/mplayer and mencoder to a recent upstream
snapshot (2022-03-10).
- It is functionally identical to the 1.5.0 release, but:
- Uses external ffmpeg instead of the bundled one in the 1.5.0 release.
multimedia/m{player|encoder}: switch to graphics/openjpeg (+)
Mplayer engine indeed require openjpeg >= 2.1.0.
Depend on openjpeg15 is irrelevant, player even connot link with it.
MFH: 2022Q1
Approved by: portmgr (fix build blanket)
Sponsored by: Netzkommune GmbH
multimedia/mplayer: Fix build on armv6, armv7
Details:
- Add dependency on binutils, as -no-integrated-as is used on both
armv6 and armv7
PR: 259401
Reported by: fuz@fuz.su
MFH: 2021Q4
audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.
PR: 251125
Submitted by: Florian Walpen <dev@submerge.ch> (original version)
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
Ports MUST NOT set WITH_DEBUG.
WITH_DEBUG is a user facing variable. When a user wants to build a port
with debugging symbols enabled, they either set WITH_DEBUG globally, or
WITH_DEBUG_PORTS+=category/port.
Approved by: bapt
With hat: portmgr
Differential Revision: https://reviews.freebsd.org/D23940
Add USES=xorg USES=gl, ports categories l and m
Add USES=xorg and USES=gl to ports in categories starting with 'l' and 'm'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Fix OSS audio playback of some videos after SVN r351847.
Make sure mplayer sets a sensible fragment and buffer size.
Discussed with: riggs@
Tested by: naddy@
Approved by: pi
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Update to recent snapshot as of 20190706
Details:
- Upstream fix for possible subtitle corruption during play
- Upstream fix to allow SSE2 aligned loads on subtitle data
MFH: 2019Q3 (with hat: ports-secteam)
Fix linking error with lld 7
Details:
- The linker script in mplayer's WRKSRC causes linking problems when
used with lld 7. Remove it during post-patch
PR: 235957, 220103
Reported by: jakub_lach@mailplus.pl, dim
Reviewed by: dim
MFH: 2019Q1
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Update to upstream snapshot as of 2018-09-20
Details:
- Update to latest upstream snapshot as of 2018-09-20
- Fix build warnings due to USES for gnome and gl
Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG. Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.
PR: 230909
Reviewed by: eadler
Approved by: portmgr (antoine)
Obtained
from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run: antoine
Differential Revision: https://reviews.freebsd.org/D16906
Switch default version of samba to 4.7
Samba 4.6 will be discontinued in a few weeks
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D16904
Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto. This update
tracks that change.
* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
instead depend on xorgproto. Bump portrevision.
* Delete the old *proto packages, update MOVED.
PR: 230023
Submitted by: zeising
Approved by: portmgr (antoine)
exp-run by: antoine
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
Update to upstream snapshot as of 20180413
Details:
- Update to recent upstream snapshot (20180413)
- Drop SCHROEDINGER OPTION (removed upstream)
- Remove --disable-libdirac-lavc from
CONFIGURE_ARGS (removed upstream)
For ports that are explicitly enabled on armv6, also enable them
on armv7. This has not been tested with an -exp run but should
"do no harm".
PR: 221894 (partial)
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845